﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;
using DTO;

namespace BLL
{
	public class LYDODENKHAMBUS
	{
		public static DataTable GetListTSB()
		{
			LYDODENKHAMDAO b = new LYDODENKHAMDAO();
			return b.GetListLD();
		}
		public static List<LYDODENKHAM> GetListTSBs()
		{
			LYDODENKHAMDAO b = new LYDODENKHAMDAO();
			return b.GetListLDs();
		}
		public static String CreateNewID()
		{
			LYDODENKHAMDAO b = new LYDODENKHAMDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(LYDODENKHAM bc)
		{
			LYDODENKHAMDAO b = new LYDODENKHAMDAO();
			return b.INSERT(bc);
		}
		public static bool UPDATE(LYDODENKHAM bc)
		{
			LYDODENKHAMDAO b = new LYDODENKHAMDAO();
			return b.UPDATE(bc);
		}
		public static bool DELETE(LYDODENKHAM bc)
		{
			LYDODENKHAMDAO b = new LYDODENKHAMDAO();
			return b.DELETE(bc);
		}
	}
}
